Dreamhost Dedicated Server Account Control Panel

I am interested in dedicated servers and was curious about if there is any development API for the DreamHost Control Panel like automatic account creation and more like cPanel have API for making custom software. I am going to be a reseller with a dedicated server. Also is the Control Panel is on my dedicated server or somewhere else which connects to the server.