State-Dependent Delays Equations and Applications