Changed how we load the configuration file in classes. Closes #49.