added basic REST system for GPIO