...
Refactored controllers

1) Use a common base class for simple controllers.
2) Don't run in debug mode.