Split files into MVC-ish structure