Better code organization and some cleanup. Add comments. Add some helper methods, remove others. Add gathering of data by file and hook type. Rudimentary HTML generation.