re-arranges code into a more proper sinatra app
changes Angular file structure to be more conventional