some changes in directory structure
Changed again the compilation structure to avoid too large compilation processes. This way it only uses 600MB of RAM.
This trick for compiling templates may be useful
debuging