Refactored Observable out of the input

This simplifies the initializing of a model when a file is opened