implemented the ghost functionality that store ghost times per track and count and fetches them out of the database when a ghost race is initiated.