add sub directories in Model and Controller