added basic error checking, removed config.js
Updated readme