Refactor controller, migrated database to set default frequency to 0