Generalized Uncertainty Principle, Classical Mechanics, and General Relativity