Done pylint and added some comments.