There are a number of ways you could connect the modules together, depending on how you built the modules. If you make the modules out of 1"x 4" (¾"x 3½") pine lumber, you could either clamp the modules together with C-clamps, or you could install some T-nuts so that the modules could be bolted...