Add db layer

create db schema, conn fun, list candidates