Implement createLink

Fixed #482, #428, #419, #416, #316.