Adding in database communication for instantTrade.