Make line searches functors.
Make search a parameter of scheme.
Merge branch 'feature/liftscheme' into develop