A Service Framework for Libraries