Add libevent support

Builds fine but segfaults on launch. Need to debug