Add functions configuration and sample
Add support for twig functions publishing