remove the api file and implement the index.html page