Added queries to retrieve candidates and parties in a sorted manner.
Completed query to insert votes as a transaction.
Implemented respective methods in VoteSubmission