major restructure of the project, moving to pypi package stuff, also added @jgm's comments from stmd.js to help in the future when i entirely forget what something does