Fixed some typos api/organizations*
Fixed some typos Device struct
Added device API and tests, changed api docs to use env variable for token