Changes to make the code better and python standards compliant. Also added a README