added a proper main page
implemented actual index page