removed unused dependency
refactoring and new structure
added test-api script field
added basic mongodb support
removed old dist files