Resolves #14
Comment From: markpollack
squashed commits and restructured the code a little bit. 5a63cd840cfff691eb3ddca9f0705dc44381afb7
Fixed the integration tests that were always running and to use the an environment variable to retrieve the openai key for inregration tests.
Added docs. Sadly the generated html didn't render the stem:[]
latex extension, but the intellij preview does work correctly.