add template system to environment
add template path from config file