Php class for building streak queries quickly & easily