Init Distributed code

this can run in the WIN distributed enviroment simulator