restruct the vfs and fs code

Signed-off-by: Le Min <lemin9538@gmail.com>