Moved function prototypes in main.c to main.h