Added API for voting and renamed some controller files for clarity