add Cython syntax+folding and improve Python syntax