remove dependency of mpd struct in main.c