Added a configuration file. Made various classes read from the configuration.