Merge pull request #1 from laynemoseley/master

Add support for error codes
update package json
fix to actually work with express