Renamed render to render_component for components; setting parent/child link for rendered components