implemented the THCrystalBall class as the model in the view controller