added models, controllers and db schema
working all 'indexes'