Add lagrangian framework, test runner