Separate render subsystem into multiple files