Added a destroy method to ClientBase and ServiceBase.

Renamed the ServiceBase launch method to init.