finished cnn MVC and divided the app into MVC