added main file

- ignored docs
- added npm ignore file