Context-dependent exogenous coordination for building large scale, dynamic fog computing applications