Create monitor.rb