Implemented the new schema (WIP)
Integrated new repo implementation with the rest of the manager.