Added some submodules and basic build helpers.
Added RenderingContext.
Fixed c string manip