added command line interface commands, extended documentation.