[fix] Module class, slots

* Fixed module with multiple templates slot passing
Merge branch 'dev' of ssh://github.com/just-paja/pwf into dev