Reverts the changes to moat.init().
Removes the redundant arguments for ServerContext constructor and ClientContext constructor.
Appends a new argument 'resolver', which is a 'require' function which represents the loaded module context.