added cloud pickle support
Automatic style corrections courtesy of autopep8