First implementations for collision detecting and some other stuff.