#168: command/build: UNFINISHED, completely refractor cortex build