Brit Mila, Pt. 1

We have been blessed with a baby boy and held the bris this week, and have some questions in that regard. Why is there a mitzvah to cut the foreskin of a baby? Also, if God is perfect, why would he create us in a way that is imperfect?