added init(uv_loop_t*) functions