Migrate to new random service interface

Migrate the RandomFilter module to the new random
service interface designed for multithreading.