allow multi instance
add testing
Merge pull request #1 from seonpiao/master

Make it available for multiple instance