new structure of scripts (MVC)