Refactored API. Removed dependency hierarchy among endpoint classes. Made interface the same in the DB reader as the WS client