turned the controller into a class
[#2]
pulled out files model from the files controller and renamed the controller to files controller
[#2]