How about we create a seperate ajax controller, exposing methods we need in javascript (creating, deleting and updating maps, poi categories and pois)? Would that make any sense?