Uploading Patch Creation Module.

I choose to write this one as a seperate module instead of into the main
script. Up next: Loading it to the main script, as well as a lot of
other stuff.