Made some minor tweaks, added initial skeleton of documentation.