Added download options for libraries to support download from repositories.
Restructured and added comments to identify sections.