added formatter.rb
fixing mistake
starting class definitions