Implement remote hook execution

Close #75
Merge pull request #155 from Xandaros/remoteHook

Implement remote hook execution