Created a webpage class and the main webapp class