Various updates & cleanup

  * flow tests
  * relocated relay server
  * make targets for dev UI and prototype
  * working tests
  * cleanup
  * object skeletons

@creationix If anything is broken let me know.