finished main.rb and updated README