Moved input / event functions into an abstract service. AbstractModelService now extends from this AbstractService