Major refactor to push logic to C
Cleanup 500 LOC Py, 88 C
Add compiled code and setup.py hook
Remove some prints in tests
Refactor file builder