Move the token cache to a helper package as its not a core library and just for utilities