implemented db vote repository
vote object
repo test, should be runned from app