Topological crystalline materials: General formulation, module structure, and wallpaper groups | Synapse