Adapt namespace, autoloading and config loading