Implemented correct way of handling status code.
Removed unused class
Removed unused class
Merge pull request #7 from Stiffi136/master

WebException handling and removed unused class