made preparations for jar-distribution
ported Template to getResourceAsStream
added build.xml (ant) for JAR creation