expose rest template for extending classes

close #60
Merge pull request #87 from martiner/mcl-resttemplate

expose rest template for extending classes