added connect.rb and contact.rb