deleted old java and c source, converted simulation to more functional style, especially src-file eventsource.scala