extracted keyboard commands to service and added bootstrap