first version of the distributed gridscheduler