Added check for view file to include

- check if .tpl file to be included from views/ exists
- removed some garbage files