removed redundent check for validity, which is already done when formatting link
added printing of link after creation
changed output of creating links
refactored linksDataUtils and enabled adding links to files
lots of refactoring
fixed identation