Began documentation of Header files, moved a few functions to private