First bash at updating classimp to use new cffi type style

I have rebased the previous pull request. The commit attached is to update all bare struct references so that cffi doesn't complain.