added shared modules, some post-processing stuff