Moved commandline code to its own source file