- working version of wed_modular module
- starting point for clean up
- wrapping in functions