markov: fix issues with class structure and callbacks not being called
Merge pull request #8 from ajmadsen/markov-plugin

markov: fix issues with class structure and callbacks not being called