Reimplemented the old collision detection system,
and removed GameObject class.