WIP no continuations
Rewrote rebase to move more code into Nor

To have more pure functional code, re-wrote rebase to
be more of a pure function and only going to the file system
when necessary.