diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..0147278
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "edmc"]
+	path = edmc
+	url = https://github.com/annabunches/EDMarketConnector.git
diff --git a/companion.py b/companion.py
new file mode 100644
index 0000000..3e14500
--- /dev/null
+++ b/companion.py
@@ -0,0 +1,24 @@
+import easygui
+from edmc import companion as c
+import os
+import platform
+
+if platform.system() == 'Windows':
+  os.environ['REQUESTS_CA_BUNDLE'] = "requests/cacert.pem"
+
+companion_session = c.Session()
+
+def login(username, password):
+  try:
+    companion_session.login(username, password)
+  except c.VerificationRequired:
+    if platform.system() == 'Windows':
+      code = easygui.enterbox("Input Verification Code (check your email)",
+                              "Verification Required")
+    else:
+      code = raw_input("Input Verification Code (check your email): ")
+      companion_session.verify(code)
+
+
+def get_data():
+  return companion_session.query()
diff --git a/edmc b/edmc
new file mode 160000
index 0000000..eeb0770
--- /dev/null
+++ b/edmc
@@ -0,0 +1 @@
+Subproject commit eeb0770bbeedc57a786f4575ab44d0c4bf5ba60a