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

This will force us to make things less mutually dependent.