Adding createTemplate functionality and google guava library.