basic structure of controllers and helpers