Code for class of the Internet Application