add logger back into com
added twig templates and automagic router based on json file