Added some classes for working with markov classes. Slowly the pieces come together