move namespace
factorize <stdio.h>
fix uci_loop()
- when an empty line was entered, my_getline() returned 0, which ended the loop and terminated the program.
- upon termination of the loop, we must free(line). In practice program will soon terminate and it will be
released by the OS, but it's cleaner not to leak.