Refactor rflow.rb.
Refactor rflow/master.rb.
Refactor daemonization code into DaemonProcess.
Refactor rflow/shard.rb and create ChildProcess.
TODOS