implemented MVC with Wait.gif animation