Move input-api stuff to d4eauto; add gengo balance