Add ui.c to the project