refactor namespaces and finish off the wordnet import script