Update and rename MASTER_v1 to MASTER_v2

Version 2: Contains PID function but has bugs in turning ON PID.