/tests now removed, add 3 examples under /examples.

Fix new problem in the template manager and compiler.