added options for different network tasks. modified GS constructor