fix some critical typos which prevents, core API being not usable
removed console.logs
Merge pull request #8 from arunoda/fix-critical-typos

fix some critical typos which prevents, core API being not usable