fixed Kineograph acting as a singleton by adding a factory method on exports