create event manager per connection
fix composer target dir