[WIP] Fixed issue #23 - Better callback patterns

Node standard is callback(err, data), and this patch updates the code to reflect this.