eliminate the p2d::sim module and moves its contents into the root of the crate