If you are planning to write a powerful contro panel for that, basically you will need a team of programmer for that. Otherwise , the functionality is limited.
May be easier to get one out of the shelve solution and customize it to your needs. You could use something like cubepanel.com and write calls to its API. That way you could produce your own scripts that will create, edit or remove hosting resources, reproducing the panel's actions, whilst transparently running the panel in the background.
If you have no clue on how to make it, you shouldnt try then... You will have to invest a lot of $$$ before you can get something decent... You can always take a look at sourceforge...