Adding the pending PrintConfig functions
changing the name from mpi to environment
Started to add optimization functions to the interface