Updated structure of code for website