Refactors the fields action in the admin controller.
More refactoring in fieldsAction.
Adds two spaces between class method names for consistency with other plugins.