diff --git a/md2json.py b/md2json.py
index <HASH>..<HASH> 100644
--- a/md2json.py
+++ b/md2json.py
@@ -5,3 +5,36 @@ For now, I am trying to read a talk outline and turn it into something
 that will create a slideshow.
 
 """
+
+import os
+import sys
+
+import getopt
+
+
+class Mark2Json:
+
+    def __init__(self):
+
+        pass
+
+    def interpret(self, infile):
+        """ Process a file of rest and return json """
+
+        data = []
+        for line infile:
+            record = {}
+            if line.startswith('#')
+                record['caption'] = line[1:].strip()
+
+            data.append(record)
+
+        return json.dumps(data)
+
+
+if __name__ == '__main__':
+
+    mark2json = Mark2Json()
+
+    return mark2json.interpret(sys.stdin.read())
+
very minimal version of md2json