takes the pseudo library, and builds a database for it