Added account_state.py, fixed utf-8 in reader.py