Ben refine mesh

Let me know what I need to fix in this module. It's not complete or correct as far as testing, but has a good start (will not crash the network).