added DAO for entities