StyleCop refactoring of root classes.

Also moved Alphabet to root classes.