Extracted html body handler
Extracted logic to module
Refactor: module now handle array of places