finished refactoring, split monster class in smaller classes an generalized database access