re arrange all the file according to MVC structure