Made render method asynchronous, added todo's for render method.