basic Service and Dao framework