Creates the API module.  Adds the invites as a resource.