added optimizer settings
updated tests
added OptimizerSettings