Implemented new FileSystem and Shell classes and updated all existing classes to use the new ones