Extracted classes.
Now (mostly) reading from settings.cfg.