add tests, lib folder to the consoleapp

@sethladd, add tests and a `lib/` folder to the console app.
Changed to `'>=1.0.0 <2.0.0'`.