Added a simple console input utility.
Some bug fixes and more tests. Still some use cases to fix :(