add server and index files