Add libraries and initial index files.

Closes #2