Refactor Linker to depend Input on Output