Moved API to library
Added resource upload support
Contributor methods