Moved shared content to a new file. Added docs for collection driver.