Update server requirements file
Refactor config class