Understanding the Mishnayos and Rambam on the Mitzva of guarding the Beis Hamikdash