pseq: Begin power control implementation

Fill in the power control main method. Introduce the power control
class and header file. Introduce the power good polling loop. Update
meson file to support.

Signed-off-by: Jim Wright <jlwright@us.ibm.com>
Change-Id: I9a5f9d71a65fa4916c701e3aad334be2989b1b16
diff --git a/phosphor-power-sequencer/src/power_control_main.cpp b/phosphor-power-sequencer/src/power_control_main.cpp
new file mode 100644
index 0000000..7433caf
--- /dev/null
+++ b/phosphor-power-sequencer/src/power_control_main.cpp
@@ -0,0 +1,30 @@
+/**
+ * Copyright © 2021 IBM Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "power_control.hpp"
+
+#include <sdbusplus/bus.hpp>
+#include <sdeventplus/event.hpp>
+
+int main()
+{
+    auto bus = sdbusplus::bus::new_default();
+    auto event = sdeventplus::Event::get_default();
+    bus.attach_event(event.get(), SD_EVENT_PRIORITY_NORMAL);
+
+    phosphor::power::sequencer::PowerControl control{bus, event};
+    return event.loop();
+}