Updated and refactored patch system. All patches moved to folder outside src.