added a main page
updated the main page with some code