major changes to all files - MVC pattern with PRG loop