Hit Kruise Kontrol and let it take care of your problems. Also, use it as a library from mods. This fork adds a remote API
Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.