refactored runit service code.

now it should be able to take an array of cache instances