refactoring. separating models and routes
Merge pull request #4 from mihailignatenko/development

refactoring. separating models and routes