Service, Dao added

Added service and Dao layer but getting an error in the Dao. Need to
integrate ibatis.