src/scribble: moved reader stuff to its own namespace, core now contains only public API