Back end: Debugging web request error. #50.
Back end: Refactored the database helper class as a singleton. #50