Got rid of Config struct. Token is read in by getToken() and passed to NewClient. From then on it is stored in the client object.