Making minuit2 like interface and shared library
Converted toy example