Completed porting Database_Ipc plus unittests