Add rectblockcollision, rectcollision, and customphase modules