Refactored and fixed memory leak
Fixed some functions signatures
Fix sig_timeout block management and refactor

stop_timeout spec
Started implementing libev signal support
Started implementing io component