[Bugfix] remove templates folder
[Bugfix] fix scope of public functions

refs #66