move require implementation
extract fs
std lib init
core modules: util, assert, console
core module: tty (only expose isatty)