Adjusted singleton pattern. #2
Adjusted some warnings #2
Merge pull request #6 from dhvik/issue/singleton

Issue/singleton