added filterstream.c, it will be like 'main' for the GUI