Add FrameListener class
Add AppModel class