added initial documentation. closes #1