Created Candidate Model, Set up database