add get_fd_type method in io.h
rename "event_loop" to "fevent_loop"; rearrage directory structure;
add signal capture event support