Merge pull request #145 from doowb/master

Updates to get the engine plugins setup and working
updating to call the registerFunctions and registerPartial methods properly by passing in the engine