remove unused dependency
create target definition and move product definition