If you use the same color and size wire for everything, you are creating a troubleshooting nightmare.
That box is a voltage regulator and a required part of your electrical system. I would suggest you hit the books and educate yourself about automotive electrical systems before attempting this project.