Added simple OAuth to the application.

Inserted all the correct libs and constructed a method that can
exchange the acces code for an access token.