added render() and update(). As well as the buffer strategy and pixel array