Here's the "sensor box" in the front of the car:
Once both of those are out, you'll need to take the caliper out of its resting spot in the caliper carrier. To do this, you will have to manually move the pads away from the rotor as they will probably be tight on the rotor. Since you opened up the master cylinder, the brake fluid you are pushing backwards will go there. Just push slowly. After the pads are away from the rotor, just lift the caliper out of the carrier.
Now, you do not want to stretch or break your brake lines, so you'll need to hang the caliper from something while you work. Here's my solution: