Finished tests and implementation of create and edit
Lots of uncommitted changes