added mkdir, mknod, unlink
merged with will's code on layer2