Community of Scientists Optimization: An autonomy oriented approach to distributed optimization