Factored the order book handling into a separate class