Added configurable pathes for loader. Autoappending .twig extension.