made some basic Lagrange stuff work, made everything public in Engine.