almost done. todo: filtering, crc, configfile