Merge pull request #2 from twokul/consoleAPI

adds consoleAPI tests
wip; fixes and consoleapi
final fixes for console api
Merge pull request #3 from twokul/blurb

Refactoring