added base DAO for DAO layer