Creating a Web Service class