Added mongoose models
Added more validators to models
Fixed bug in edit route
Added first tests