Migrated goodconfig to object syntax
Created variable configDir for easier access to configDir