Refactored some methods, as well as added route handling for GET /Extent