Make platform and render modules free-standing crates and make gfx a facade