APVPhases params read from DB

Update of the config file for APV cycle phases to read parameters directly from DB. Making use of the development by @venturia in #2910.