Class and example revamp

Made some improvements to this class and also added example and better
.md file. Enjoy.