Candidate list JSON query, a few test lines in database

Implemented candidate info JSON and SQL query classes.
Added a few test lines to database.