Did some clean up and started documentation