added ChanUser.c and basic cache system