Added controller frequency setting, dao and tests.