Fixed autowiring of eventrepository. Cleaned up code and xml files. Still can't get HTTP verbs to work.
merged