Restructured the project into logical divisions

Since we are utilizing the model/view/controller paradigm, I've put
all of the files into the folders that they are applicable to. I've
also renamed most of the files to fit the current model.