add p9813 class and example project