Add initial version of switch monitoring