Use new style classes
Merge pull request #23 from aisipos/master

Use new style classes.