Allowing directory traversal for reading input words. Also reworking the internals to be better structured.