Redesigned Model classes loading because the db can not be changed dynamically