Add main patcher library