related to #3 (closed). Adds a schema api for supervised learning More MRs for the final version will follow