Moved constructor to template
Added auto reload of twig template cache
Fixed template not calling the right method
Moved cache dir outside the repo
moved baseObjectMethods to twig template
Fixed usage of constant
Moved some parts of the accessor methods