Improve InputInfo

InputInfo now has support for both internal and external type.
Also added support for availability and ME availability.
Add support for ME2 when setting/getting prg/prv input