Added main page and all code.