Build factory service FrameWork