Fix: srvcfg-manager - ObjectManager base path

Create ObjectManager under root base path for srvcfg
/xyz/openbmc_project/control/service, so that
dynamic detection of service name can be performed under
the above path with org.freedesktop.DBus.ObjectManager
interface

Unit-Test:
1. Verified that service executes fine after this change
2. Verified the detection of service name using GetObject
from ObjectMapper

Tested-by:
1. Verified the bmccontrolsevice ipmi command to initiate
the https disable

Change-Id: Id46f5bb348039bdeb69ece079ffeec45e88011cc
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
diff --git a/src/main.cpp b/src/main.cpp
index ffb0e11..abbb0b3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -29,7 +29,11 @@
     auto conn = std::make_shared<sdbusplus::asio::connection>(io);

     timer = std::make_shared<boost::asio::deadline_timer>(io);

     conn->request_name(phosphor::service::serviceConfigSrvName);

-    auto server = sdbusplus::asio::object_server(conn);

+    auto server = sdbusplus::asio::object_server(conn, true);

+    auto mgrInterface =

+        server.add_interface("/xyz/openbmc_project/control/service", "");

+    mgrInterface->initialize();

+    server.add_manager("/xyz/openbmc_project/control/service");

     for (const auto &service : serviceList)

     {

         std::string objPath("/xyz/openbmc_project/control/service/" +