Refactor branch commands to avoid code duplication and begin implementing save

Implemented cpu.branch to be used in every branch command
Save command implementation (part1)