Add an hourly schedule and db creation sample for RATBv (which fails because hourly schedule is not yet persisted)
Refactor DetachableStream into proper in/out stream pair