Implemented execute and undo in the imaginary spacemap. Cannot compile yet.