Added new API
* bumped version to 0.4
* removed unnecessary dependencies
* added some more cleanup
* export cleanup