Making Client and Index new-style python classes for easier extension