Moved away from class based sharing.
Fixed writing wrong path.