clean up a few model input methods and add output method to return dynamic model from the output model