Registered twig and refactored autoloading and locations