Added documentation and index header