fixed seeding and app_config factory