Input plugin

Not 100% ready yet