Modified command line helper to include description.

Added some classes that were originally from flatnj.

Optimising code is VERY broken at the moment... still need to fix this.