Shared library

Added shared library class