ConfigurationManager added, to hold global configuration.

It uses boost program options, but it's independent from this on interface layer.
WorkMode removed from main and MainController.

Additional options are not handled yet.