Updated some fs functions
Fixed file system impl and file system server.
Fixed preferences manager