Refactor configuration parameters management