Set library as a service.
Add dist.