Setup main services and service event handlers.