Mekano spike

Mekano spike largely done. Just need to extract the used bits of mekano and bundle with the other cython code.