some fixes and little bit better logs, still issues with parsing json into a working class structure.