Moved all comments describing functions to their corresponding header files