move 'blobs' to lib