Recursively finds dependencies
Move sensor configuration into a common file