Moved configuration to config.json file. Added integration with voting service provider (now stores vote counts and API returns them). Refactored function names.