updated pingc2 with beginning of shell functionality