Added wrapper function in shell to talk to cython. Need coffee badly now.