add stubs for all API calls, figured out how to make optional params in sinatra