#28: add 'libraries' module

Resolves #28.