smarty is a private object
initialize method for smarty engine
Merge branch 'release/0.2'