wmix: created new file config.c to contain configuration related stuff