Entirely remove Input[T] classes for optimizers

This also removes additionalExterns from closure optimizer
wip
wip full call graph
wip