move DBPool to common, todos