Add midding libraries