Update parser.rb

Added an introductory paragraph in comments explaining how I organized the application by class.