added DepComponent trait and implementation
test needed