Text this: Controlling irreversibility and directionality of light via atomic motion: optical transistor and quantum velocimeter