More work on component system. Started rendering code. Renamed stuff.