removed index.html from public, added restful routes