add class to handle db deployment