Configure pylint and update the code

This will allow us to run automatic checks for future commits.

Change-Id: Idbf08a44df0a940de51fb418d99f90da19fa6dc3