some changes to models
Refactoring routes
Add lib
Refactoring
Complete app refactoring