I could be wrong but if the root has the index and files all in one when you move them the path is changed so the code for the game can't find it. That is why you have a black screen. Basically when you moved them to the folder you would have to update all the files path information.
IE
If the index looks for screen.png but you moved it to new folder/screen.png so can't find it.