structure type dependencies implemented & test added
interface dependency detection & test added