updated start stop mechanism and added local_gem capability, which needs some refactoring btw
updated start stop mechanism and added local_gem capability, which needs some refactoring btw