refactor of tronstore.py into classes