Hello,
I want to create the program ( Node.js, golang ) that
- 
start a new Appium session with desired port number and configurations 
- 
track currently running Appium sessions on the machine 
- 
close desired Appium session 
- 
detect crashes in the Appium session. 
Is there any existing libraries and resources I can reference to build the tool with those requirements? Do I need to fork and modify existing Appium codebase? I have found the article that explain how to start the Appium server automatically from Node.js and java here . But it only cover how to start appium session programmatically.