Extract CpuState.dump_state into new module
Update build instructions