Added basic infrastructure

Lots of refactoring

Added tests for requests

Added unit tests for requests

Added unit tests

Added more tests

Finished access token store

Added more tests