Add logging to amqp init.
Add logging to http init.
Move index html template to const.