Update

Fix Multi Thread bug when using singleton pattern.
Change unity data strcture to fit unity xml saved by configuration