Change double to BigDecimal

Change double to BigDecimal to prevent rounding to double numbers in config