Initialize objects in proper order