add pyclass demo