added some more unit tests, removed read + write to file of access token. It was too difficult to secure