Add service layer to rails