Adding in basic error handeling
Merge pull request #3 from RESTful-Forest/error_handeling

Adding in basic error handeling