cp_api interactions with election controller and model