added FactoryInterface::createRegistry() method
added twig bridge