complete refactor. cli now references same instance as starting server.js locally. changed from commander to optimist for more granular control.