Added config templates to org and few other refactoring

1. Added configtemplate tests to org
2. Created template factory (derived logic from test_template.py)
3. Refactoring of test_template.py - Moved constants to the constants file, Used random.choice