Added default config file and refactored types.