Add some basic error handling
Remove the C code
Create a proper python project structure