Initial steps towards generic cvodes wrapper [skip ci]