Make cython version requirement explicit
remove debugging prints
Move formatting code into __init__.

Also clean up some formatting and indentation.
Also add some more tests.