Added render in addition to update.
Implemented Map for object tracking