Cleaned up flows.rb and removed job_listener.rb