Fixed bug that causes templavoila page module to write error "no permissions". No XCLASS needed anymore. Code optimized.
Please test this version. If no bugs will be found (I hope :), I will change state to "beta".