update license
use new standard globals.dist.php
add todo notes