added index page and server file