Added prototypes to the header files