Add packaging and clean pyflakes