fixed the node check and the timer not being saved correctly
added the discovery gen_server to the supervising tree