Implemented the order queue sqlight database.