Market data parsed in memory

Moved all the market data parsing and coin pairing to memory. Very much
faster. Some other minor tweaks.