move app/lib git exclusion to root .gitignore
add index.php, move layout HTML to @layout.latte