Service monitor code reorganization
Added new classes for db, logger and instance manager

Change-Id: I9957fb5d6fff813f89346f76880a22b573dd9cb6