Added swagger assets. Removed twig dependency and added routing for resources.