Moving static declarations from header files to c files. Also added some comments
Removing last semi colon. Was not supposed to be there
Syntax bug fixed