added portnumbers, removed status boolean in contactswitch, changed
constructors in raspberrypi.cpp