Serialization

Serialize the bamboo to local file