Fixed syntax errors in agent.rb
Added more RDoc and moved receiving entities to a block
Added some RDoc
Raising exception if undefined input or output type is specified
File input code is generating Woodchuck::Event objects