Added first implmentation of template parser.
Added test class for 2d operations.