Integrated postgress sequel db into url_repository class