Implementation of some parser classes

The word parser class and its dependencies.