refactor(all classses):Change to use New style classes
and some pep8 fixes