got the amr to save the number of iterations.
added the legacy support
added some new functionality for parameter sets
Merge pull request #1 from wkerzendorf/general/cleanup

General/cleanup