Split one big if-else function into multiple functions (one per API call) so it will be easier to add new API calls. No functional changes. It is based on structure in StructureRequestHandler. I have run basic test on web-ui with changing zone or scene name and it looks ok.