A simple cli/serv program using signals