Fixed change_path, refactored a bit of code. Implemented change_all_paths and move but have not tested them, or implemented tests for them yet.