Added Pylintrc file and fixed some lint warnings