Merge pull request #4 from conord33/develop

ErrorResponse class created, error handling more abstracted