First interation of generator.

moved replace tempaltes to json config.
moved template factory to use replace templates with getattr to get config values.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>