Moved repl and workflow to workspace, fleshing out lib