Add main library