update and separate version for dependency-free gemspec, move class impl to ::Filter