Refactored the Db.cs class to implement DRY and increase performance. Added exception handling in the event of a failed endpoint, and added default return for all methods thanks to DRY.
Merge pull request #12 from rezalas/master

Refactored the Db.cs class to implement DRY and increase performance. Going to do the merge looks OK. I haven't done any testing, but we can deal with any issues.