Its weird. If you think about it, shouldnt i add like
from a
$files_and_dirs = array("init.lua", "data", "modules", "layouts");
to a
$files_and_dirs = array("init.lua", "data.zip", "modules", "layouts");
because how its gonna download modules, layouts if they are packed in zip, inside client...