initial commit
removed old piece of code
added support for removing dom elements before compiling templates