Made prompt(3) a core module and initial work on the rewrite.
Initial work on the prompt re-implementation.