Added JAR creation and moved templates.
Updated .gitignore.