BFP, fixes structures definitions, categorizes each c-function into a .pxd file.