VFS: Split into modules, bugfixes