- added autoloader for core
- started refactoring user models