documentation for controllers/preference.php
documentation for controllers/preference_type.php