add singleton pattern to avoid conflicts when importing
Merge pull request #1 from backbone87/master

add singleton pattern to avoid conflicts when importing