Some code to test the tool
Added some facilities method to read from the input, like "readString" and others