added generic object class.
added map object