improve startup and cleanup app
improve generated and static resources
don't hardcode websocket url
Merge pull request #5 from orb/cleanup

General cleanup - fixing up some of the hackiness