Create and use an object library