rendering can be started (WIP)

some worng indexing is still present.
Made renderer to work