Separate config and objects generation