Added a front-end interface for the solver while retaining the overall functionality of example1.