Remember that BSD gives them rights to do as they please with that code though, they can distribute it sell it, etc. But it is a good license for this type of work, as they have no real (in business terms) restrictions.
You cannot however add to this library of code while on their engagement unless expressly permitted by the contract. It is a good idea to lay out what is in that library in the contract and the kind of items that can be added to the library while on engagement (e.g just bug fixes or generic routines).