- moved all database related functionalities from generic Model to database Model
- moved tests along with Model functionality
- use autoloader to load resource classes
- moved resources types to separate folder Types
- make application defined resources possible