Implemented Link Model and Moved multiple code into AppModel and EventInterfaceModel