Console

The console application is pretty much complete.
@sirodoht It is ready to merge