Class and example revamp

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