Implemented services using spring mvc