Remove unused code.
Refactor rflow.rb.
Refactor rflow/master.rb.
Refactor daemonization code into DaemonProcess.
Handle signals before spawning subprocesses to catch any possible issues while starting them.
Refactor rflow/shard.rb and create ChildProcess.
Fix logging context for signal handler threads. It was getting lost on the thread spawn.
Refactor rflow/component.rb.
Refactor rflow/components/raw.rb.
Refactor rflow/component/port.rb.
Refactor rflow/connection.rb.
Refactor rflow/connections/zmq_connection.rb.
Refactor rflow/logger.rb.
TODOS