implemented everything except writing to logs and backing store. Need to transition away from global transactions and segment lists