- better template loading
- now its possible to load templates also from document.body
- added Logger class