renamed server to index to make it installable by npm