add some required configs
clean-up and minor fixes
add twig extention