added debug module and removed console-logs
updated readme.md
Merge pull request #50 from ilongin/master

Debug module instead console.log