Started to implement saving to textfiles, not done though