very basic drepl implementation
implement web terminal
prettify error messages
use mkdtemp if possible
factor out common code

- add mod0 with common declarations
mark declarations explicitly as public

- for imports