almost ready

little error because #include "datastructure.h" but everything else is
ready to start.
global variables in media.c have to be added.