Working on query model.

1) Converted processors to return events instead of domain objects
2) Test configuration is created correctly now and no more dead letters.