phase 1 of splitting pollsController into two controllers