Reworked the configuration of supervisor.
Used supervisor to start and stop services in the dev scripts.