Add comment to make code readable and add GUI using PyQt4