Creating Service layer