Updated code with async, separated html/xml and updated README