Add comments, set version to 1.5. Fix PEP8 errors.