add import to SimpleTemplateEngine
refactoring to samples package