Corrected typos. Changed some classes to abstract. Added CollisionTypes