add ball acceleration, bugfix and refactor collisions