Added documentation. Initial draft