Replaced Java reflection with polymorphism
Removed the bouncy ball