documentation and cmake files updated.