Implemented base work with configuration file and command line arguments.