Added modem.lua for logging via a modem