Lint changes:
Changing tabs to spaces as per pep08. Also changed classes to subclass from object.