incorporates barnabywalters' changes from https://github.com/aaronpk/mention-client/pull/1 to add namespace and sets up composer