Start stop implemented for app config and added a flag running