initial test
added mode switcher
restore RPI specific commands (GPIO, etc)