media.c, media.h and datastructure.h