Fleshed out main models, added repository, starting on create view.