Add CommonJS functionality
Fix typo
start of little refactoting
dependencies refactoring
release v0.5.0