future self:  don't mess around with main until you have the file abstraction layer in place