First working code version - currently can create a factory or instantiate a single object from a .so file