Changed to structure involving links

Dependencies will no longer be array dependent but rather strictly
defined