renamed table name candidate_infos to candidates and refactored controller, views, routes, helpers, tests etc