restruct dirs & add comment for randomstr.py