separate mongo schemas and models + added more basic tests