Adds documentation and fixes links