Fixed some namespace stuff and made a local config file possible