Changed render system and draw component, added shape, color function, z ordering.