created vote class, database helpers, successfully querying DB