move html out of resources