Fix requires in ConfigValueFactory

Fix the require statements so that ConfigValueFactory can be
required without requiring other files.