Cleaned a lot of things up and introduced AI and a simple deflection model for the ball