Remove obsolete functions
Move check_empty_patch and generate_diff to diff_helper.py
rename function get_rebase_patch
Update build dictionary