Added ProjectConfigFactory functionality and associated junit tests.