added two REST switch/graph/switck_key ( GET, DELETE ) and switches ( POST )