removed old-lib; fixed issue with query filtering; finished socket listeners (except for filters)