Type checking, some work on spawning, some work on remaking the collision algorithm, some documentation