proper exporting of module variables in controller