Rename INPUT -> Input, OUTPUT -> Output

Part of Modularisation

FYI @ikeough @pboyer