add composer json
use library rewrite instead of copying entire library class