Move index.html into app and make server more customizable