Migrate to configuration directory instead of single file