Refactoring for better CMD interface, API and documentation.
Making file log output redirection "false" in the default case.