Added service layer
Added service layer