Got rendering engine to work