Hi Imran,
I didnt get your problem. To create a Root we use Create_object method. Here we don't directly use Object table and model table, It's all handled by the framework. You just have to provide the entries into these tables.
Regards,
Pratheek