stub server and db connector (issue #3)