This is the working commit with the crush library functions in place.