Flake8 code cleanup. Added Makefile