repair boards refact.

- added methods visibility.
- moved all non-methods out of the controller :D 

I know it's "dirty" because $context is now part of the subs file but at least the controller is freed from normal functions and db queries...