Add synchronized to Singleton.

Add comments to main.m