added support for module on top of module

added corner hull modules
added support for modules of other shapes