move 'init_app_event' to service #39