submod WIP: working towards separate compile/run phases