Implemented basic collision functionality and a logging system.