refactored the pypy plugin to make best use of cffi and to avoid the need of helpers