emprice-cython

This code is pretty much ready to be merged into master, barring any small bugs we may find in the next week or so.