Add singleton
Merge pull request #23 from chen3feng/develop

Add singleton