added getters and setters which give api from private variables to public for parameter setting (illistrated by alex's test script)
Merge remote-tracking branch 'origin/master'