Add MIT license
Create src/ev and src/utils directories
Detect available mechanisms for event multiplexing