Move main HTML into res