added a controller to handle events and startup containers