removed redundant statement
fixed test cases for jinja2
added new lines at the end of files
moved files to offline module
fixed import paths
fixed template dirs