move main html part to standalone html file.