add LICENSE file and headers
Split markov in to a seperate module

Modularize ALL THE THINGS! \o.