Add database and logger classes to service monitor
This is initial effort of reorganization of service monitor code

Change-Id: I80191f1e7ad83fad35eb23bb986f0aaf8ad0afa1
Merge "Add database and logger classes to service monitor This is initial effort of reorganization of service monitor code"