new_contents: import sqlite3
  import datetime
  
  class MTA_Reader:
      _sqlite_db = 'subway_status.db'
      
      def get_stop_times(self, stop_id, arrival_or_departure = 'arrival'):
          connection = sqlite3.connect(self._sqlite_db)
          cursor = connection.cursor()
          sql_command = "select {}_time from trip_updates where stop_id = '{}';".format(arrival_or_departure, stop_id)
          cursor.execute(sql_command) 
          return [datetime.datetime.fromtimestamp(r[0]) for r in cursor.fetchall() if r[0] is not None]
          connection.close()
          
      def get_stop_name(self, stop_id):
          connection = sqlite3.connect(self._sqlite_db)
          cursor = connection.cursor()
          sql_command = "select stop_name from stops where stop_id = '{}';".format(stop_id)
          cursor.execute(sql_command) 
          return [r[0] for r in cursor.fetchall()][0]
          connection.close()
  
subject: Create MTA_Reader.py