Huge refactoring again. Created GenericDao instead Dao from every entity.Removed unnecessary classes.