Added base for patches and inserts
Stablized the insert and patch system