ticket: 5 pep8 fixed, pil changed to pillow, error_messages fixed, view changed