Code clean up. move template from plugins to template folder.