Follows PSR concerning braces and arguments for functions over multiple
lines
Reformats the Categories class to be more readable