% fix copyright header
% cleanup license
remove outdated stuff
simplify
fix comment/whitespace handling