DB repository for directedpackages created and prepared for implementation (db handling still with errors)