Stellar Mechanics