added model for votes and db migration