Rewrote parts of builder with support for multi module builds.