implement basic phases and cmd line controls, run pose ./examples/deploy to see a test. Also set up mocha and docs