Extract droonga-engine-service implementation code as a class