Converted implementation to typescript
Tried to implement in typescript
Everythings works, but the way typescript exports modules and resolve requires does not work with node.js
Open issues pending on typescript codeplex site
Replaced typescript implementation with javascript. Modified to work with node & brunch