Simple background loops framework for ruby