fixed the obj/* missing bug from launcher
restructured the number of endpointdata be dependent on number of endpoint definitions