Refactor a bunch of models and add strong_parameters to some controllers

This isn't quite done, but it's better than before, runs and passes all tests. Sorry the commit is so huge, everything is so interconnected so I couldn't piece it out to commit separately