Moved everything into a package, added setup.py.
Deleted leftover "print" calls.