added pylint

Added pylint config file and reviewed code with pylint.