Added a beta version of the optimizer. Now I need to demonstrate the user of the optimizer