But the pres does have a very influential role, more than I believe you made it out to be. The power to veto and sign bills into effect as well as administer new policy.
Using your same analogy, sure the teacher is confined to the system that is in place, but they are still allowed to make their own classroom rules. Some teachers like to keep it simple and straight, and others like to push the boundaries, such as our current POTUS.