add template engine for mason template, start to digging the code in masontemplateproposal