extract server header calls to one function
simplify appointment table
add notes to the readme