added Dao interface and RestDao impl