Added error handling
Added help screen
Added command line switches
Added set configuration ability