updates from issue #13 for console and command line APIs
Merge pull request #93 from jaredwilli/console-api-updates

updates from issue #13 for console and command line APIs