The config file can now be passed to the SettingsParser

Can be used as a library now.