Adhering to some standard python conventions

- changed classes to new-style (derive from object)
- class names start with a Capital letter