Building service libraries