Functional sqlite list
Make base class a new-style class for python 2