overhaul of all API functions
  - removed generic OPTIONS param
  - added params specific to each call

Added JSDoc documentation to entire project