create common config generator