LinkDao updated

added constructor
updated connection process
fixed query to return a List of Links instead of a single Link