Refactored; Added package.json
Refactored header file