added a sample main page and resources on twig