Improved Tasks class, right now it is responsible for generating html and emiting to client site
removed html creation responsibility from client site