formatting and fixed some documentation links