trying to wrap my head around python file arrangement