instance start and stop function

Added start and stop function for instance.
added instance start and stop function