added writing & reading features from files
ver 1.0