format header file
format and fix some accessibility issues