simplify using PyString_FromFormat
make things a little cleaner by moving to a src directory for the C code