Added webpageformatter.py and got the webpage fully functional