very basic implementation of API merhods
Merge pull request #15 from maciekbb/invitations

very basic implementation of API methods