Add button.c and header file to separate code from main.c