add select poll module
improved select poll module
updated demo for libnet2
add logging module