Instantiate parameter_factories once and for all.
Created by: stefanoborini
Currently, we instantiate the MCO parameter factories every time we call the parameter_factories, which is 1. suboptimal 2. does not match the current API style 3. makes testing somewhat harder.
We should address all three points above.