various doc formatting issues
add licence