modified structure to accomodate orm, odm, dbal, cache