Removed a bunch of unnecessary access APIs, refactored the JSONService (renamed Gateway)