Moved database related stuff out of the base Model object
Added a database model to BaseModels
Included base models in fw init