Implemented web service layer