Adding the beginnings of the API

Support for GET requests are now there. At some point it would be nice
to refactor out the authentication state.
Initial GET requests working
Merge pull request #2 from pspeter3/request

API Requests