Added interface to the monitor db and appropriate handling thereof.