adding .library() method
Merge pull request #33 from segmentio/add/library

adding .library() method