adhoc work being done in main directly for now; break into other files when I have a better idea of how SDL works