Refactoring and mesh datablock is not created twice.

* Created new file ui_object3d.py with UI code for sharing object.