Adds templates, Adds configure instructions, Fixes app.js, Modifies .gitignore and makes the whole thing work.

There are a few excess commits that I didn't know how to get rid of, but everything works now :-)