Update and rename helperFunctions.c to frameControl.c