Initial commit of class with collision algorithms