Moved to library based code.
Amend docs.