Fix most of the pylint errors. The mixin model is still generating a lot of errors. All unittest pass.