initial commit
initial smarty implementation