Removed unused import
Fixed PEP-8 warnings
Refactored remaining action views.

Created helper methods that can be overridden in subclasses.