Added serializing and deserializing

 ser and deser of filesystem to and from native filesystem
next: finishing the commands I still have in mind