Moved function prototypes and defines to main.h, commented main.c