controller:lib: Updated Controller documentation.

controller:app: Modifying command line switch statement into if conditional
statements.