Factor out chunk, local, and network rendering processes into modules