using new setters and getters of c sim

bummer: getOutput doesnt work for arrays though :/