explicitly use new-style classes for python2 compatibility
use python2 & 3 compatible split syntax