Attempt to fix #40

this is by using a property for template rather than initializing it in __init__
Using string.format() instead of old styled string % tuple