Renamed page controller to a token service.
Extracted the token model to its own class.