improved architecture and drawRace function in GameView class