added base class implementation with tests
changed to use better class system
Merge pull request #21 from musikata/Classy

Classy