added index page to startup and separated server.