Extract common codes into AbstractPatching.py; Add initial unittest