Add link checker and fix errors