made async server and added index.html