Fixed bugs in cmdpu.c added docs directory/folder