Minor changes to demo
Changed index.php
Fixed template resolver creation