repl is part of state and no longer passed around, also introducing manage-plugins