Fixed writing to /etc/hosts
Added -w option
Added 'SIGINT' handling
Added handling of service removal