Implements issue #19 calculator example & moved templates to easier configuration based method
Fixes issue #10 failed builds do not return failed exit code