Updating templates to fix permissions, remove outer static dir and further automate setup.