sample singleton implementation
Merge pull request #7 from nasko/db-singleton

sample singleton implementation