Added documentation for UIs plus some reorganization. closes #53