split files into controllers and models