add services and interfaces.