small modifications
rename dump to enum, and have map constructor done
rename save to dump
enum() takes FILE object
dump() and load() takes FILE*, and they are added to python