Factoring iDb components out from OJ