set main script to  index.js, fixed #142

Usage:

```
var cnpm = require('cnpmjs.org');
var config = require('./config');
cnpm.loadConfig(config);
cnpm.startWorker();
cnpm.startSync();
```