Updating to use 'exports =' and move interfaces definaitions out of class
Adding interface definitions
cleaning up references
Merge pull request #3 from allouis/fix/commonjs

Fix/commonjs