Added animation loop and call to render