CommandPool now interacts with database