Use lua modules for input and output.