Matching, DB delete dev tool, Symlink exceptions

Separated redundant matching/new linking code
Exception handling in symlink function