make even more MVC style. Delete unnecessary framework files