Did some more linting to controllers, and added some constants.