libuv according to new scheme
write and run methods for eventloop extension