added write method
enabling interrupts in portManager now
RPi interrupt activation moved to PortManager
syntax fix
addded some code to polling api
fixed array setting