Remove all the html related things to make it pure java backend