refactored how the lnks list is shown
rearchitected the db saving and link data access