creating the DB inside the pack