moved template to theme folder system
added theme_folder variable to config
added theme_folder to _render function