Begin restructuring based on HMTL configuration via JSON
Minor improvements
Preliminary HMTL message sending to triggers